package controller;

import com.student.jdbc;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;

@WebServlet(name = "StudentServlet", value = "/student")
public class StudentServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        jdbc jdbc=new jdbc();
        try {
            jdbc.student();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
